import { createApp } from 'vue'
import App from './App.vue'
import '@/index.css'

import PrimeVue from 'primevue/config'
import Tooltip from 'primevue/tooltip'
import ToastService from 'primevue/toastservice'
import ConfirmationService from 'primevue/confirmationservice'
import Ripple from 'primevue/ripple'
import 'primevue/resources/themes/tailwind-light/theme.css'
import 'primevue/resources/primevue.min.css'
import 'primeicons/primeicons.css'

import '@/assets/css/fontawesome.css'

import router from '@/utils/router'
import store from '@/store'

createApp(App)
    .use(router)
    .use(store)
    .use(PrimeVue, { ripple: true })
    .use(ToastService)
    .use(ConfirmationService)
    .directive('ripple', Ripple)
    .directive('tooltip', Tooltip)
    .mount('#app')
